package com.cjc.hotel.server.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@ApiModel(value="com-cjc-hotel-server-entity-THotel")
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "t_hotel")
public class THotel {
    /**
     * 主键Id,自增
     */
    @TableId(value = "hotel_id", type = IdType.AUTO)
    @ApiModelProperty(value="主键Id,自增")
    private Integer hotelId;

    /**
     * 酒店名称
     */
    @TableField(value = "hotel_name")
    @ApiModelProperty(value="酒店名称")
    private String hotelName;

    /**
     * 酒店地址
     */
    @TableField(value = "address")
    @ApiModelProperty(value="酒店地址")
    private String address;

    /**
     * 联系电话
     */
    @TableField(value = "telphone")
    @ApiModelProperty(value="联系电话")
    private String telphone;

    /**
     * 酒店图片
     */
    @TableField(value = "image")
    @ApiModelProperty(value="酒店图片")
    private String image;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    @ApiModelProperty(value="创建时间")
    private Date createTime;

    /**
     * 修改时间
     */
    @TableField(value = "update_time")
    @ApiModelProperty(value="修改时间")
    private Date updateTime;
}